package commands.creator

def stream = source.getTerminalOutput()

try{
    stream.writeln "\n\nCan Load the following objects:"
    attendant.domainManagers.each{
        it.getHandles().each {
            stream.writeln("$it")
        }
    }
    stream.writeln "\n\ncurrent objects in game:"
	registry.getMudObjectsMap().each{ key, value ->
		stream.writeln("${value.name} -> $key")
	}
}catch(Exception e ){
	stream.writeln(e.getMessage())
}